$(function() {
	var businessId = parseQueryString().businessId;
	var type = parseQueryString().type;
	var userType = parseQueryString().userType;
	var code = parseQueryString().code;
	$("#left").load("../common/gover-left.html");
	
	$(".ystep1").loadStep({
		size: "small",
		color: "green",
		steps: [{
				title: "事项选择"
			},
			{
				title: "服务选择"
			},
			{
				title: "信息录入"
			},
			{
				title: "寄件选择"
			},
			{
				title: "取件选择"
			},
			{
				title: "提交成功"
			}
		]
	});
	$(".ystep1").setStep(2);
	my_vue = new Vue({
		el: '#vue_info',
		data: {
			titleName:sessionStorage.getItem('titleName')
		},
		methods: {
			chooseServiceType: function(object) {
				if(object == 1) {
					window.location = "selfHelpFormInput.html?businessId=" + businessId + "&type=" + type + "&code=" + code+ "&userType=" + userType;
				} else if(object == 2) {
					window.location = "face2faceWaiting.html?businessId=" + businessId + "&type=" + type + "&code=" + code+ "&userType=" + userType;;
				}
			},
		},
		ready: function() {
			//初始化获得总页面数和列表数据
			var url="../up/chooseServiceType.html";
			 
		}
	});
});